import store from './store'
import { Provider } from 'react-redux'
import ComA from './pages/ComA';
import ComB from './pages/ComB';

function App() {
  return (
    // {store} 对应./store中的store对象
    <Provider store = {store}>
      <div className="App">
        <ComA></ComA> 
        <ComB></ComB>
      </div>
    </Provider>
  );
}

export default App;
